package com.ys.web.pay.model;

import com.ys.base.BaseBean;
import lombok.Data;

/**
 * 用户账户 entity
 * @author generator by swing
 */
@Data
public class UserAccount extends BaseBean {
    public Long id;
    public Long userId;
    public Long balance;
    public Long freezeAmount;
    public Long oldBalance;
    public Long oldFreezeAmount;
    public long payAmount;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getBalance() {
        return balance;
    }

    public void setBalance(Long balance) {
        this.balance = balance;
    }

    public Long getFreezeAmount() {
        return freezeAmount;
    }

    public void setFreezeAmount(Long freezeAmount) {
        this.freezeAmount = freezeAmount;
    }

    public Long getOldBalance() {
        return oldBalance;
    }

    public void setOldBalance(Long oldBalance) {
        this.oldBalance = oldBalance;
    }

    public Long getOldFreezeAmount() {
        return oldFreezeAmount;
    }

    public void setOldFreezeAmount(Long oldFreezeAmount) {
        this.oldFreezeAmount = oldFreezeAmount;
    }
}
